<?php
foreach ($list as $v) {
    ?>
    <div class="aui-card-list aui-list aui-media-list">
        <a target="_blank" href="<?php echo site_url('home/v/'.$v['id'])?>" title="<?php echo $v['title'];?>">
            <div class="aui-list-header art_title">
                <?php echo $v['title'];?> <span class="aui-label bg_<?php echo $v['xcid'];?>"><?php echo resource('x_cid', $v['xcid'])?></span>
            </div>
            <div class="aui-card-list-content-padded aui-ellipsis-3">
                <?php echo cutstr_html($v['content']);?>
            </div>
            <div class="aui-card-list-footer">
                <div>
                    <span>作者：<?php echo $v['author'] == '科长' ? '周科长，零草大神': $v['author'];?> <?php echo $v['author_wx'] ? '| 微信：' . $v['author_wx'] : ''?></span>
                    <span>来源：<?php echo resource('tid',$v['tid']);?></span>
                    <span>点击：<?php echo $v['view'];?></span>
                    <span>时间：<?php echo date_str($v['ctime']);?></span>
                </div>
            </div>
        </a>
    </div>
<?php
}
?>